bitkeeper revision 1.1236.1.94 (423d8424xa3IjKUn_8z0s4Bbep3LKA)
authoriap10@firebug.cl.cam.ac.uk <iap10@firebug.cl.cam.ac.uk>
Sun, 20 Mar 2005 14:09:40 +0000 (14:09 +0000)
committeriap10@firebug.cl.cam.ac.uk <iap10@firebug.cl.cam.ac.uk>
Sun, 20 Mar 2005 14:09:40 +0000 (14:09 +0000)
Trivial nits in the network-nat script..
signed-off by Nivedita Singhvi (niv@us.ibm.com)

tools/examples/network-nat

index ed32b70c584c261149e53e611e968c20882514ad..e0050a4e7201d1428a6ce8ce06bf519e84462411 100644 (file)
@@ -1,18 +1,18 @@
 #!/bin/sh
 #============================================================================
-# Default Xen network start/stop script.
+# Default Xen network start/stop script when using NAT.
 # Xend calls a network script when it starts.
 # The script name to use is defined in /etc/xen/xend-config.sxp
 # in the network-script field.
 #
 # Usage:
 #
-# network-route (start|stop|status) {VAR=VAL}*
+# network-nat (start|stop|status) {VAR=VAL}*
 #
 # Vars:
 #
 # netdev     The gateway interface (default eth0).
-# antispoof  Whether to use iptables to prevent spoofing (default yes).
+# antispoof  Whether to use iptables to prevent spoofing (default no).
 #
 #============================================================================
 
@@ -30,7 +30,7 @@ for arg ; do export "${arg}" ; done
 
 netdev=${netdev:-eth0}
 # antispoofing not yet implemented
-antispoof=${antispoof:-yes}
+antispoof=${antispoof:-no}
 
 echo "network-nat $OP netdev=$netdev antispoof=$antispoof"